//
//  AnswerScrollView.h
//  AssistantDriving
//
//  Created by dcr on 2017/1/10.
//  Copyright © 2017年 邓兆太. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol AnswerScrollViewDelegate<NSObject>

@optional
- (void)scrollViewDidEndDecelerating;

@end

@interface AnswerScrollView : UIView
{
    @public
    UIScrollView *_scrollView;
}
@property(nonatomic, weak) id<AnswerScrollViewDelegate> delegate;
@property(nonatomic, assign, readonly)int currentPage;
@property(nonatomic, strong)NSMutableArray *hadAnswerArray;
@property(nonatomic, strong)NSArray *datas;
- (instancetype)initWithFrame:(CGRect)frame andDataArray:(NSArray *)array;
- (void)reloadData;
@end
